package script.Novell_Suse;

def json = [ 'Flag': -1 ];         //bool,采集是否正常


def String lines = g_shc.collect('echo "ok"');
json['Flag'] = (lines.indexOf("ok")>=0)?1:0;

g_rets = json;